//out:../css/mainFunctionPage.css
@import url(./module.less);

body {
    padding-top: (50/@rem);
    transition: all 0.3s;
}

.header {
    width: 100%;
    height: (50/@rem);
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    padding: @s8 (31.5/@rem);
    transform: scale(1);
    z-index: 1;
    .text {
        display: inline-block;
        margin-right: @s36;
        a {
            p {
                font-size: @s14;
                font-weight: 600;
                color: @text2Color;
            }
        }
    }
    .slider {
        width: (42/@rem);
        height: @s4;
        border-radius: @s2;
        background-color: @linColor;
        transition: all 0.2s;
    }
}

.completed {
    transition: all 0.3s;
    opacity: 0;
    width: 100%;
    background-color: #fff;
    padding: 0 @s15 @s14;
    position: fixed;
    top: (50/@rem);
    z-index: 1;
    .iconfont.icon-sousuo {
        position: absolute;
        top: @s12;
        left: @s22;
        font-size: @s20;
    }
    .taskNum{
        width: 100%;
        height: @s32;
        background-color: @backgroundColor;
        font-size: @s12;
        border-radius: @s16;
        padding-left: @s29;
    }
    a {
        .clear {
            position: absolute;
            top: @s15;
            right: @s28;
            display: block;
            height: @s14;
            width: @s14;
            border-radius: 50%;
            text-align: center;
            line-height: @s14;
            color: #fff;
            font-size: @s12;
            opacity: 0;
            transform: rotate(45deg);
            background-color: #646464;
        }
    }
    div {
        margin-top: @s22;
        display: flex;
        align-items: center;
        justify-content: space-between;
        a {
            display: block;
            width: (106/@rem);
            height: @s32;
            background-color: @backgroundColor;
            border-radius: @s16;
            text-align: center;
            font-size: @s14;
            line-height: @s32;
            color: @text2Color;
        }
        p {
            font-size: @s14;
        }
        .btn {
            width: (60/@rem);
            background-color: @mainColor;
            color: #fff;
        }
    }
}

.text.selected1 {
    a {
        p {
            color: @textColor;
        }
    }
}

.emptyContent {
    opacity: 0;
}

// 待提货列表
.toPickedUp {
    margin-bottom: (70/@rem);
    .list {
        padding: @s15 @s17 @s19 @s20;
        .titleNum {
            margin-bottom: @s22;
            display: flex;
            align-items: center;
            justify-content: space-between;
            h3 {
                font-weight: 600;
                font-size: @s16;
            }
            .btn {
                opacity: 0;
                width: (52/@rem);
                height: @s22;
               font-size: @s12;
               color: @mainColor;
               border-radius: @s22;
               text-align: center;
               line-height: @s22;
               border: @s1 solid @mainColor;
            }
        }
        .middleAddress {
            border-bottom: @s1 solid @splitAreaBorderColor;
            display: flex;
            align-items: center;
            justify-content: left;
            padding-bottom: (21.5/@rem);
            .leftImg {
                margin-right: @s16;
                .startImg {
                    background-color: #000;
                }
                .endImg {
                    background-color: @mainColor;
                }
                p {
                    text-align: center;
                    font-size: @s12;
                    color: #fff;
                    width: @s22;
                    height: @s22;
                    line-height: @s22;
                    border-radius: 50%;
                }
                .line {
                    border-radius:0;
                    width: 100%;
                    height: @s30;
                    line-height: @s30;
                    color: @text2Color;
                    transform: rotate(90deg);
                }
            }
            .rightText {
                p {
                    font-size: @s14;
                    color: @text2Color;
                }
                .start {
                    margin-bottom: (14.5/@rem);
                }
            }
        }
        .footerDate {
            display: flex;
            justify-content: space-between;
            padding-top: (14.5/@rem);
            .time {
                font-size: @s14;
                p {
                    color: @text2Color;
                }
            }
            .btn {
                width: (80/@rem);
                height: @s32;
                border-radius: @s32;
                background-color: @mainColor;
                font-size: @s14;
                color: #fff;
                text-align: center;
                line-height: @s32;
            }
        }
    }
}
.loading {
    opacity: 0;
}

// 选择年月
.selected {
    width: 100%;
    font-size: @s14;
    position: fixed;
    bottom: 0;
    opacity: 1;
    z-index: 1;
    transition: all 0.3s;
    transform: translateY(100%);

    .title {
        display: flex;
        align-items: center;
        width: 100%;
        background-color: #fff;
        height: (50/@rem);
        justify-content: space-around;
        border-bottom: 1px solid @formBorderColor;

        .cancel {
            color: @cancelColor;
        }

        a {
            font-size: @s14;
        }
    }

    .listbox {
        background-color: #fff;
        z-index: 2;

        .titleYM {
            height: (56/@rem);
            text-align: center;

            span {
                line-height: (56/@rem);

                &:first-child {
                    margin-right: (105.5/@rem);
                }
            }
        }

        .list {
            display: flex;
            justify-content: center;
            height: (255/@rem);
            overflow: hidden;

            ul {
                height: (220/@rem);
                z-index: 2;

                li {
                    height: (48/@rem);
                    text-align: center;

                    span {
                        color: @placeholderColor;
                        font-size: @s16;
                        transition: all 0.2s;
                    }
                }

                &:first-child {
                    margin-right: (90/@rem);
                }
            }
        }
    }

    .line {
        position: absolute;
        z-index: 1;
        top: 53%;
        width: 100%;
        height: (40/@rem);
        border-top: @s1 solid @splitAreaBorderColor;
        border-bottom: @s1 solid @splitAreaBorderColor;
    }
}